package org.metasketch.editor.links;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class SemanticEndConfig extends BaseEndConfig {

	List<Class> types = new ArrayList<Class>();

	public SemanticEndConfig() {

	}

	public SemanticEndConfig(String fieldName, LinkEnd linkEnd,
			Class... typeNames) {
		super(fieldName, linkEnd);
		types.addAll(Arrays.asList(typeNames));
	}

	public List<Class> getTypes() {
		return types;
	}

	public void setTypes(List<Class> types) {
		this.types = types;
	}

}
